package com.ytjj.qmyx.mall.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 *
 */
@Data
public class FreightTemplateResponse {

    private Integer id;

    private String templateName;

    /**
     * 运费方式（0：自定义模板；1：固定模板；2：包邮）
     */
    private Integer freightWay;

    private Integer freightType;

    private Integer billingWay;

    private Integer amount;

    private BigDecimal freight;

    private Integer continues;

    private BigDecimal renew;

    private Integer quantify;

    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm")
    private Date updateDate;

    private List<YxAssignFreightResponse> assignFreightList;

    private YxAstrictRegionResponse astrictRegion;
}
